package com.srp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.srp.pojo.TestDataFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TestDataMapper extends BaseMapper<TestDataFile> {
    @Select("select * from testdata")
    List<TestDataFile> selectAll();

    @Select("select url from testdata where id=#{id}")
    String getUrlById(String id);
}
